package com.shuda.common.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 分发规则DTO
 */
@Data
@Schema(description = "分发规则DTO")
public class DistributionRuleDTO {

    @Schema(description = "规则ID")
    private Long id;

    @Schema(description = "方案ID")
    private Long schemeId;

    @Schema(description = "规则名称")
    private String ruleName;

    @Schema(description = "规则类型")
    private String ruleType;

    @Schema(description = "规则配置(JSON格式)")
    private String ruleConfig;

    @Schema(description = "规则状态(0-禁用,1-启用)")
    private Integer ruleStatus;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "描述信息")
    private String description;

    @Schema(description = "创建人")
    private Long creator;

    @Schema(description = "创建时间")
    private LocalDateTime createdTime;

    @Schema(description = "更新人")
    private Long updater;

    @Schema(description = "更新时间")
    private LocalDateTime updatedTime;
}